<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>

</head>
<body>
    <a th:href="@{resumeEdit}" style="float:right;text-decoration:none;">新增</a>
    <table border="1" width="100%">
        简历列表
        <tr>
            <td>序号</td>
            <td>姓名</td>
            <td>地址</td>
            <td>电话</td>
            <td>操作</td>
        </tr>

        <div th:each="resume : ${resumes}">
            <tr>
                <td th:text="${resume.id}"></td>
                <td th:text="${resume.name}"></td>
                <td th:text="${resume.address}"></td>
                <td th:text="${resume.phone}"></td>
                <td>
                    <a th:href="@{resumeEdit(id=${resume.id})}">修改</a>
                    <a th:href="@{resumeDelete(id=${resume.id})}">删除</a>
                </td>
            </tr>
        </div>
    </table>
</body>
</html>
